<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>test test</title>
</head>
<body>
<div style="background-color:#ccc;">
	<a href="javascript:;">测试数据</a>
</div>

<script>
window.onerror = function (message, targetUrl, col, row, errObj){
    // console.log('\n错误信息  :  ', message, '\n出错文件  :  ', targetUrl, '\n代码行号  :  ', col, '\n代码列号  :  ', row, '\n详细信息  :  ', errObj);
    return true;
};

bbb;

</script>

</body>
</html>
